package com.example.springtransdemo.service;

import com.example.springtransdemo.mapper.LogInfoMapper;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Slf4j
@Service
public class LogService {
    @Autowired
    private LogInfoMapper logInfoMapper;
    public Integer insertLog(String name,String op){
//记录⽤⼾操作
        return logInfoMapper.insertLog(name,"⽤⼾注册");
    }
}
